package com.sunnada.wfs.dao;

import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;
import java.util.Map;

@Mapper
public interface SystemInfoMapper {
    @InsertProvider(type = SystemInfoSql.class, method = "insert")
    public void insert(Map<String,String> map);

    @SelectProvider(type = SystemInfoSql.class,method = "get")
    public Map<String,String> get(String ip);

    @SelectProvider(type = SystemInfoSql.class,method = "getAll")
    public List<Map<String,String>> getAll();
}
